package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap50 extends OSMap
	{
		public function OSMap50()
		{
			super();

			var ground:OSGround = new OSGround(0, 760, 160, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([7]);
			ground.erode();
			add(ground);

			ground = new OSGround(40, 940, 500, 140, 0, false);
			ground.setNoErosionUp([14, 21]);
			ground.setNoErosionDown([150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174]);
			ground.setNoErosionRight([24, 49, 74, 99, 124, 149, 174]);
			ground.erode();
			add(ground);

			ground = new OSGround(140, 700, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(300, 640, 200, 20, 0, false);
			ground.setNoErosionDown([1, 8]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(320, 660, 20, 280, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionDown([13]);
			ground.erode();
			add(ground);

			ground = new OSGround(460, 660, 20, 280, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionDown([13]);
			ground.erode();
			add(ground);

			ground = new OSGround(510, 910, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(540, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(540, 980, 420, 100, 0, false);
			ground.setNoErosionUp([0, 6, 12, 19]);
			ground.setNoErosionDown([84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104]);
			ground.setNoErosionLeft([0, 21, 42, 63, 84]);
			ground.setNoErosionRight([20, 41, 62, 83, 104]);
			ground.erode();
			add(ground);

			ground = new OSGround(660, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(750, 910, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(780, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(920, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

		}
	}
}
